using System;

namespace _1023
{
    public partial class Student
    {
        public string Name { get; set; }
        public int    Age  { get; set; }
        public string Id   { get; set; }

        public Student(string name, int age, string id)
        {
            Name = name; Age = age; Id = id;
        }

        public void Print()
        {
            Console.WriteLine($"Student: {Name}, Age: {Age}, ID: {Id}");
        }

        // 作业 2 统一入口
        public static void TestPrint2()
        {
            var stu = new Student("Alice", 20, "10001");
            stu.Print();
        }
    }
}